package com.ytc.mapper;

import com.ytc.dto.PrizeDto;
import com.ytc.model.Prize;

import java.util.List;

public interface PrizeMapper {
    int deleteByPrimaryKey(Integer pid);

    int insert(Prize record);

    int insertSelective(Prize record);

    Prize selectByPrimaryKey(Integer pid);

    int updateByPrimaryKeySelective(Prize record);

    int updateByPrimaryKey(Prize record);

    List<Prize> queryprizeList(Prize prize);
}